Questions
15 of 17
1Design a semantic search system that must support 500 million documents with sub-100ms p99 latency. What are the key architectural decisions?
2How would you plan capacity (RAM, disk, CPU, node count) for a collection of a given size, vector dimensionality, and expected QPS?
3What architectural changes would you make to support near-real-time search over data that changes thousands of times per second (e.g., a live feed)?
4How would you design a system that needs to support both 'search the last 24 hours' and 'search all history' with very different latency expectations?
5What role does caching play in a Qdrant-backed search system, and at what layers would you introduce it?
6How would you decide the initial number of shards for a new collection when the eventual data size is uncertain?
7What is the relationship between shard count and query fan-out cost, and why doesn't 'more shards' always mean 'faster'?
8How many replicas would you configure for a shard serving a mission-critical, read-heavy workload, and what does each additional replica cost you?
9What operational steps are involved in adding a new node to an existing Qdrant cluster and rebalancing shards onto it?
10How does Qdrant's architecture and target use case differ from Pinecone's as a fully managed, closed-source vector database?
11When would you choose pgvector inside an existing Postgres database over a dedicated vector database like Qdrant?
12What distinguishes Qdrant from Weaviate and Milvus at a conceptual level, and what would make you choose one over the others for a given project?
13Under what circumstances would a team be justified in NOT using a vector database at all, and instead using brute-force search or a traditional search engine?
14What is your target Recovery Point Objective (RPO) and Recovery Time Objective (RTO) for a Qdrant deployment, and how do snapshot frequency and replication factor influence each?
15How would you design a disaster-recovery strategy that survives the loss of an entire cloud region?
16What is the operational difference between a rolling upgrade of a replicated cluster and an in-place upgrade of a single-node deployment?
17How would you validate that a newly restored cluster from snapshots is actually healthy and serving correct results before routing production traffic to it?
15 / 17

How would you design a disaster-recovery strategy that survives the loss of an entire cloud region?

Cross-region snapshot replication or a standby cluster

Surviving a region loss requires the data and the ability to serve to be available in another region. The two common patterns are cross-region snapshot replication and a standby cluster. In the snapshot pattern, snapshots are taken in the primary region and replicated to object storage in a second region (or to a multi-region bucket). On a region failure, a new Qdrant cluster is provisioned in the second region and restored from the most recent snapshot. The RPO is bounded by the snapshot interval plus the replication lag to the second region, and the RTO is the time to provision and restore, which for a large collection can be hours. In the standby pattern, a full Qdrant cluster runs in the second region and consumes the same data, either through application-level dual-writes or through a replication stream. The standby can be warm (running and in sync, ready to take traffic immediately) or cold (not running, but with the data available). The warm standby gives a lower RTO but costs more because you are paying for idle capacity in the second region. The choice depends on the RTO target and the budget.

The mechanism that determines the achievable RPO and RTO is the replication path. For snapshots, the path is: snapshot taken in region A, uploaded to object storage, replicated to region B, and restorable in region B. The RPO is the interval between snapshots plus the replication lag; the RTO is the restore time. For application-level dual-writes, the path is: the application writes to both regions, so both have the data within the write latency. The RPO is near zero (assuming the dual-write succeeds), but the write path is slower and more complex, and a network partition between regions can cause the two clusters to diverge. For a replication stream from Qdrant, the mechanism depends on the version - some versions support cross-region replication, others do not. The third pattern is a read replica in the second region that is promoted on failure, which requires the primary to stream changes to the replica. This is the lowest-RPO pattern but also the most complex to operate, because the replication lag must be monitored and the failover must be reliable.

  1. 1

    Cross-region snapshots: periodic snapshots replicated to object storage in a second region.

  2. 2

    Standby cluster: a full cluster in the second region, warm or cold.

  3. 3

    Dual-writes: the application writes to both regions; RPO near zero, but complex.

  4. 4

    Replication stream: the primary streams changes to a replica in the second region; lowest RPO.

  5. 5

    RPO: bounded by the snapshot interval plus replication lag, or near zero with dual-writes/replication.

  6. 6

    RTO: dominated by provisioning and restore time; warm standby has the lowest RTO.

  7. 7

    Cost: warm standby costs idle capacity; snapshots cost storage and network; dual-writes cost write latency.

  8. 8

    Testing: failover drills validate that the DR strategy actually works.

The trade-off is between cost and recovery speed. Snapshots are cheap but have a higher RTO. A warm standby is expensive but has a low RTO. Dual-writes and replication streams give the lowest RPO but add write latency and operational complexity. The right choice depends on the business value of the data and the tolerance for downtime. The common mistakes are: (1) not replicating snapshots to a second region, so a region loss loses the backups; (2) not testing the failover, so the first real failover is a surprise; (3) not accounting for the cost of the warm standby, which runs 24/7; (4) assuming that a cross-region deployment is the same as a multi-region deployment - the former is about DR, the latter is about serving traffic from multiple regions; (5) not documenting the failover procedure, so the response is slow under pressure. Version note: cross-region replication and multi-region deployment features have evolved across Qdrant releases and Qdrant Cloud offerings. The exact capabilities and the supported configurations depend on the version and the deployment model. Verify the availability of cross-region features on your version before designing the DR strategy.

javascript

Version-dependent: cross-region replication, multi-region deployment, and the snapshot API have changed across Qdrant releases. Qdrant Cloud offers Multi-AZ and other managed features; self-hosted deployments require the operator to build the cross-region replication. Verify the capabilities on your version and deployment model before designing the DR strategy.

Difficulty: 8/10
Topics: Disaster Recovery, Multi-Region, Snapshots

Scenario Questions

0-2 years experience
  1. 1

    You have a single-region deployment and you need to survive a region loss. Describe the first change you would make.

  2. 2

    A teammate says snapshots in the same region are enough for DR. Explain why they are not.

2-5 years experience
  1. 1

    You have a 4-hour RTO and a 1-hour RPO. Describe the DR architecture and the failover procedure.

  2. 2

    Your DR drill reveals that the failover takes longer than expected. Diagnose the bottlenecks and propose fixes.

5-8 years experience
  1. 1

    Design a DR strategy for a multi-region Qdrant deployment with a 15-minute RTO and a 5-minute RPO. Specify the architecture and the failover automation.

  2. 2

    You need to balance DR cost against RTO. Describe the trade-offs and the decision framework.

8+ years experience
  1. 1

    Derive the cost and RTO of each DR pattern (snapshots, cold standby, warm standby, dual-writes) for a given deployment. How would you choose?

  2. 2

    You are designing a system that must survive the loss of a region without any data loss. Describe the architecture and the trade-offs.

Follow-up Questions

  • How would you decide between a warm standby and cross-region snapshots for a given RTO target?
  • If the primary region fails and the standby has a replication lag, how would you decide whether to fail over or wait for the primary to recover?